<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>System configuration</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/System_configuration"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-System_configuration rootpage-System_configuration skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">System configuration</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><style data-mw-deduplicate="TemplateStyles:r1251242444">
/* start https://en.wikipedia.org/ */
.mw-parser-output .ambox{border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output .ambox+link+.ambox,.mw-parser-output .ambox+link+style+.ambox,.mw-parser-output .ambox+link+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+style+.ambox,.mw-parser-output .ambox+.mw-empty-elt+link+link+.ambox{margin-top:-1px}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}.mw-parser-output .ambox-speedy{border-left:10px solid #b32424;background-color:#fee7e6}.mw-parser-output .ambox-delete{border-left:10px solid #b32424}.mw-parser-output .ambox-content{border-left:10px solid #f28500}.mw-parser-output .ambox-style{border-left:10px solid #fc3}.mw-parser-output .ambox-move{border-left:10px solid #9932cc}.mw-parser-output .ambox-protection{border-left:10px solid #a2a9b1}.mw-parser-output .ambox .mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox .mbox-image{border:none;padding:2px 0 2px 0.5em;text-align:center}.mw-parser-output .ambox .mbox-imageright{border:none;padding:2px 0.5em 2px 0;text-align:center}.mw-parser-output .ambox .mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox .mbox-image-div{width:52px}@media(min-width:720px){.mw-parser-output .ambox{margin:0 10%}}@media print{body.ns-0 .mw-parser-output .ambox{display:none!important}}
/* end https://en.wikipedia.org/ */
</style>
<p>A <b>system configuration</b> (<b>SC</b>)<sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> in <a href="Systems_engineering" title="Systems engineering">systems engineering</a> defines the computers, processes, and devices that compose the system and its boundary. More generally, the system configuration is the specific definition of the elements that define and/or prescribe what a system is composed of.
</p><p>Alternatively, the term "system configuration" can be used to relate to a <i>model</i> (declarative) for abstract generalized systems. In this sense, the usage of the configuration information is not tailored to any specific usage, but stands alone as a data set.
A properly-configured system avoids resource-conflict problems, and makes it easier to upgrade a system with new equipment.
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Sample_configuration">Sample configuration</h2></div>
<p>The following is a basic SC <a href="XML" title="XML">XML</a> System Configuration:
</p><p><i>Description</i>:
This provides information about a single "site" (MyHouse) and specifies that there is one host with <i>user-setup</i> and <i>mysql-db</i> components. The host must have an account on it for a user named <i>mysql</i>, with appropriate parameters. Notice that the configuration <i>schema</i> requires no <a href="XML" title="XML">XML</a> tags that are <a href="Microsoft_Windows" title="Microsoft Windows">Windows</a>- or <a href="UNIX" class="mw-redirect" title="UNIX">UNIX</a>-specific. It simply presents <i>data</i> as standalone information – with no pretense for how the data is to be used.
</p><p>This is the hallmark for a good system configuration model.
</p>
<div class="mw-heading mw-heading2"><h2 id="Further_extensions">Further extensions</h2></div>
<p>The above model can be extended. For example, the <i>user</i> could have more attributes like "preferences" and "password". The components could depend on other components. Properties can be defined that are passed into sub-elements. The extensions can be endless (WATCHOUT: <i>complexity</i>) and must be managed and well-thought-out to prevent "breaking" the idea of the system configuration.
</p>
<div class="mw-heading mw-heading2"><h2 id="Usage">Usage</h2></div>
<p>The usage for the model in practical terms falls into several categories: <a href="Documentation" title="Documentation">documentation</a>, <a href="System_deployment" title="System deployment">deployment</a> & <a class="mw-selflink-fragment" href="#Operations">operations</a>.
</p>
<div class="mw-heading mw-heading3"><h3 id="Documentation">Documentation</h3></div>
<p>One use of the configuration is to simply record what a system <i>is</i>. This documentation could in turn become quite extensive, thus complicating the data model. It is important to distinguish between <i>configuration</i> data and <i>descriptive</i> data. Of course comments can be applied at any level, even in most tools, however the bloating of the data can reduce its usefulness. For example, the system configuration is not a place to record historical changes, or descriptions of design and intent for the various elements. The configuration data is simply to be "what it is" or "what we want it to be".
</p>
<div class="mw-heading mw-heading3"><h3 id="Deployment">Deployment</h3></div>
<p>Deployment involves interpreting a configuration data set and acting on that data to realize the configure the system accordingly. This may simply be a validation of what's there to confirm that the configuration is in effect.
</p><p>Examples include a Perl library launched from the command line to read the configuration and begin launching processes on the local or remote hosts to install components. Also while the system is running, there may be a <i>SystemConfiguration</i> service that provides an interface (i.e. <a href="CORBA" class="mw-redirect" title="CORBA">CORBA</a> IDL interfaces) for other system applications to use to access the configuration data, and perform deployment-like actions.
</p>
<div class="mw-heading mw-heading3"><h3 id="Operations">Operations</h3></div>
<p>When the system is in operation, there may be uses for the configuration data by specific kinds of services in the system. For example, a <i>Secnager</i> may access the configuration to acquire the MD5 passwords for the user accounts that are allowed to log into hosts remotely. A <i>system monitor</i> service (see: <a href="System_monitoring" class="mw-redirect" title="System monitoring">system monitoring</a>) may use the data to determine "what to monitor" and "how to monitor" the system elements. A <i>PresentationManager</i> might use the data to access <i>menu-items</i> and <i>views</i> based on user access privileges.
</p>
<div class="mw-highlight mw-highlight-lang-xml mw-content-ltr" dir="ltr"><pre><span class="w"> </span><span class="nt"><system_configuration></span>
<span class="w"> </span><span class="nt"><site</span><span class="w"> </span><span class="na">name=</span><span class="s">"MyHouse"</span><span class="w"> </span><span class="nt">></span>
<span class="w"> </span><span class="nt"><hosts></span>
<span class="w"> </span><span class="nt"><host_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"host1"</span><span class="nt">/></span>
<span class="w"> </span><span class="nt"></hosts></span>
<span class="w"> </span><span class="nt"></site></span>
<span class="w"> </span><span class="nt"><group</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql"</span><span class="w"> </span><span class="na">gid=</span><span class="s">"500"</span><span class="nt">/></span>
<span class="w"> </span><span class="nt"><user</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql"</span><span class="w"> </span><span class="na">uid=</span><span class="s">"500"</span><span class="nt">></span>
<span class="w"> </span><span class="nt"><groups></span>
<span class="w"> </span><span class="nt"><group_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql"</span><span class="nt">/></span>
<span class="w"> </span><span class="nt"></groups></span>
<span class="w"> </span><span class="nt"></user></span>
<span class="w"> </span><span class="nt"><host</span><span class="w"> </span><span class="na">name=</span><span class="s">"host1"</span><span class="w"> </span><span class="nt">></span>
<span class="w"> </span><span class="nt"><users></span>
<span class="w"> </span><span class="nt"><user_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql"</span><span class="nt">></span>
<span class="w"> </span><span class="nt"></users></span>
<span class="w"> </span><span class="nt"><profiles></span>
<span class="w"> </span><span class="nt"><profile_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"workstation"</span><span class="nt">/></span>
<span class="w"> </span><span class="nt"></profiles></span>
<span class="w"> </span><span class="nt"></host></span>
<span class="w"> </span><span class="nt"><profile</span><span class="w"> </span><span class="na">name=</span><span class="s">"workstation"</span><span class="w"> </span><span class="nt">></span>
<span class="w"> </span><span class="nt"><components></span>
<span class="w"> </span><span class="nt"><component_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"user-setup"</span><span class="w"> </span><span class="nt">></span>
<span class="w"> </span><span class="nt"><component_ref</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql-db"</span><span class="w"> </span><span class="nt">></span>
<span class="w"> </span><span class="nt"></components></span>
<span class="w"> </span><span class="nt"></profile></span>
<span class="w"> </span><span class="nt"><component</span><span class="w"> </span><span class="na">name=</span><span class="s">"user-setup"</span><span class="nt">></span>
<span class="w"> </span><span class="nt"></component></span>
<span class="w"> </span><span class="nt"><component</span><span class="w"> </span><span class="na">name=</span><span class="s">"mysql-db"</span><span class="nt">></span>
<span class="w"> </span><span class="nt"></component></span>
<span class="w"> </span><span class="nt"></system_configuration></span>
</pre></div>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap"><ol class="references">
<li id="cite_note-1"><span class="mw-cite-backlink"><b><a href="#cite_ref-1">^</a></b></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://stackoverflow.com/questions/3730134/what-is-the-difference-between-system-configuration-and-system-state">"What is the difference between system configuration and system state?"</a>. <i>stackoverflow.com</i><span class="reference-accessdate">. Retrieved <span class="nowrap">16 January</span> 2025</span>.</cite></span>
</li>
</ol></div></div></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-01-16" href="https://en.wikipedia.org/wiki/?title=System_configuration&oldid=1269804454">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>